\hypertarget{classGUIController}{\section{G\-U\-I\-Controller Class Reference}
\label{classGUIController}\index{G\-U\-I\-Controller@{G\-U\-I\-Controller}}
}
Inheritance diagram for G\-U\-I\-Controller\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classGUIController}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classGUIController_a3f85fdeac642a3c52c0f0b586462eb8a}{G\-U\-I\-Controller} (Q\-Widget $\ast$parent=0)
\begin{DoxyCompactList}\small\item\em \hyperlink{classGUIController}{G\-U\-I\-Controller} is the constructor of the main window. The main window constructs all the elements via the ui file. The title of the main window is set to the tool name. The position of the main window is adjusted to the center. The default empty files are initiated. \end{DoxyCompactList}\item 
\hypertarget{classGUIController_acf3b4a6d7ab7be45f20ab41831644444}{\hyperlink{classGUIController_acf3b4a6d7ab7be45f20ab41831644444}{$\sim$\-G\-U\-I\-Controller} ()}\label{classGUIController_acf3b4a6d7ab7be45f20ab41831644444}

\begin{DoxyCompactList}\small\item\em The destroyer that frees the memory The ui is deleted and the memory is freed. \end{DoxyCompactList}\item 
void \hyperlink{classGUIController_a3e67be4bfe8c3ebdf943540e1b06949b}{add\-Text} (std\-::string str)
\begin{DoxyCompactList}\small\item\em Add a normal text to the build-\/in terminal. \end{DoxyCompactList}\item 
void \hyperlink{classGUIController_ac57ebab895a0f83ca9c09fd60d835585}{add\-Success} (std\-::string str)
\begin{DoxyCompactList}\small\item\em Add an success text to the build-\/in terminal. \end{DoxyCompactList}\item 
void \hyperlink{classGUIController_a5ea3697ae0408cb521e82a0b315d2661}{add\-Warning} (std\-::string str)
\begin{DoxyCompactList}\small\item\em Add a warning text to the build-\/in terminal. \end{DoxyCompactList}\item 
void \hyperlink{classGUIController_a8b5677300791307f8597dc427772ad11}{add\-Error} (std\-::string str)
\begin{DoxyCompactList}\small\item\em Add an error text to the build-\/in terminal. \end{DoxyCompactList}\item 
void \hyperlink{classGUIController_aff7752195a9d8c86d326f212ccda1e7b}{set\-Text} (std\-::string str)
\begin{DoxyCompactList}\small\item\em Set the text in the build-\/in terminal. \end{DoxyCompactList}\item 
std\-::string \hyperlink{classGUIController_a494d1c2423ce3e7d44633edc50269803}{get\-Text} ()
\begin{DoxyCompactList}\small\item\em Give the current text of the build-\/in terminal. \end{DoxyCompactList}\item 
\hypertarget{classGUIController_a3f85fdeac642a3c52c0f0b586462eb8a}{{\bfseries G\-U\-I\-Controller} (Q\-Widget $\ast$parent=0)}\label{classGUIController_a3f85fdeac642a3c52c0f0b586462eb8a}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classGUIController_ae675a28ff6534f3443910cdf1c8d6603}{close\-Event} (Q\-Close\-Event $\ast$event)
\begin{DoxyCompactList}\small\item\em Check if the files are saved when the window is closed. \end{DoxyCompactList}\item 
\hypertarget{classGUIController_ae675a28ff6534f3443910cdf1c8d6603}{void {\bfseries close\-Event} (Q\-Close\-Event $\ast$event)}\label{classGUIController_ae675a28ff6534f3443910cdf1c8d6603}

\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{classGUIController_a3f85fdeac642a3c52c0f0b586462eb8a}{\index{G\-U\-I\-Controller@{G\-U\-I\-Controller}!G\-U\-I\-Controller@{G\-U\-I\-Controller}}
\index{G\-U\-I\-Controller@{G\-U\-I\-Controller}!GUIController@{G\-U\-I\-Controller}}
\subsubsection[{G\-U\-I\-Controller}]{\setlength{\rightskip}{0pt plus 5cm}G\-U\-I\-Controller\-::\-G\-U\-I\-Controller (
\begin{DoxyParamCaption}
\item[{Q\-Widget $\ast$}]{parent = {\ttfamily 0}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [explicit]}}}\label{classGUIController_a3f85fdeac642a3c52c0f0b586462eb8a}


\hyperlink{classGUIController}{G\-U\-I\-Controller} is the constructor of the main window. The main window constructs all the elements via the ui file. The title of the main window is set to the tool name. The position of the main window is adjusted to the center. The default empty files are initiated. 

F\-S\-T\-Gui\-::\-F\-S\-T\-Gui is the constructor of the main window. The main window constructs all the elements via the ui file. The title of the main window is set to the tool name. The position of the main window is adjusted to the center. The default empty files are initiated.


\begin{DoxyParams}{Parameters}
{\em parent} & the parent Q\-Widget \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classGUIController_a8b5677300791307f8597dc427772ad11}{\index{G\-U\-I\-Controller@{G\-U\-I\-Controller}!add\-Error@{add\-Error}}
\index{add\-Error@{add\-Error}!GUIController@{G\-U\-I\-Controller}}
\subsubsection[{add\-Error}]{\setlength{\rightskip}{0pt plus 5cm}void G\-U\-I\-Controller\-::add\-Error (
\begin{DoxyParamCaption}
\item[{std\-::string}]{str}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classGUIController_a8b5677300791307f8597dc427772ad11}


Add an error text to the build-\/in terminal. 

\hyperlink{classGUIController_a3e67be4bfe8c3ebdf943540e1b06949b}{G\-U\-I\-Controller\-::add\-Text} Add an error text to the build-\/in terminal.


\begin{DoxyParams}{Parameters}
{\em str} & String containing the text to be added. \\
\hline
\end{DoxyParams}


Implements \hyperlink{classmodel_1_1Logger}{model\-::\-Logger}.

\hypertarget{classGUIController_ac57ebab895a0f83ca9c09fd60d835585}{\index{G\-U\-I\-Controller@{G\-U\-I\-Controller}!add\-Success@{add\-Success}}
\index{add\-Success@{add\-Success}!GUIController@{G\-U\-I\-Controller}}
\subsubsection[{add\-Success}]{\setlength{\rightskip}{0pt plus 5cm}void G\-U\-I\-Controller\-::add\-Success (
\begin{DoxyParamCaption}
\item[{std\-::string}]{str}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classGUIController_ac57ebab895a0f83ca9c09fd60d835585}


Add an success text to the build-\/in terminal. 

\hyperlink{classGUIController_a3e67be4bfe8c3ebdf943540e1b06949b}{G\-U\-I\-Controller\-::add\-Text} Add an information text to the build-\/in terminal.


\begin{DoxyParams}{Parameters}
{\em str} & String containing the text to be added. \\
\hline
\end{DoxyParams}


Implements \hyperlink{classmodel_1_1Logger}{model\-::\-Logger}.

\hypertarget{classGUIController_a3e67be4bfe8c3ebdf943540e1b06949b}{\index{G\-U\-I\-Controller@{G\-U\-I\-Controller}!add\-Text@{add\-Text}}
\index{add\-Text@{add\-Text}!GUIController@{G\-U\-I\-Controller}}
\subsubsection[{add\-Text}]{\setlength{\rightskip}{0pt plus 5cm}void G\-U\-I\-Controller\-::add\-Text (
\begin{DoxyParamCaption}
\item[{std\-::string}]{str}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classGUIController_a3e67be4bfe8c3ebdf943540e1b06949b}


Add a normal text to the build-\/in terminal. 

\hyperlink{classGUIController_a3e67be4bfe8c3ebdf943540e1b06949b}{G\-U\-I\-Controller\-::add\-Text} Add a normal text to the build-\/in terminal.


\begin{DoxyParams}{Parameters}
{\em str} & String containing the text to be added. \\
\hline
\end{DoxyParams}


Implements \hyperlink{classmodel_1_1Logger}{model\-::\-Logger}.

\hypertarget{classGUIController_a5ea3697ae0408cb521e82a0b315d2661}{\index{G\-U\-I\-Controller@{G\-U\-I\-Controller}!add\-Warning@{add\-Warning}}
\index{add\-Warning@{add\-Warning}!GUIController@{G\-U\-I\-Controller}}
\subsubsection[{add\-Warning}]{\setlength{\rightskip}{0pt plus 5cm}void G\-U\-I\-Controller\-::add\-Warning (
\begin{DoxyParamCaption}
\item[{std\-::string}]{str}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classGUIController_a5ea3697ae0408cb521e82a0b315d2661}


Add a warning text to the build-\/in terminal. 

\hyperlink{classGUIController_a3e67be4bfe8c3ebdf943540e1b06949b}{G\-U\-I\-Controller\-::add\-Text} Add a warning text to the build-\/in terminal.


\begin{DoxyParams}{Parameters}
{\em str} & String containing the text to be added. \\
\hline
\end{DoxyParams}


Implements \hyperlink{classmodel_1_1Logger}{model\-::\-Logger}.

\hypertarget{classGUIController_ae675a28ff6534f3443910cdf1c8d6603}{\index{G\-U\-I\-Controller@{G\-U\-I\-Controller}!close\-Event@{close\-Event}}
\index{close\-Event@{close\-Event}!GUIController@{G\-U\-I\-Controller}}
\subsubsection[{close\-Event}]{\setlength{\rightskip}{0pt plus 5cm}void G\-U\-I\-Controller\-::close\-Event (
\begin{DoxyParamCaption}
\item[{Q\-Close\-Event $\ast$}]{event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}}\label{classGUIController_ae675a28ff6534f3443910cdf1c8d6603}


Check if the files are saved when the window is closed. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em event} & The closing event. \\
\hline
\end{DoxyParams}
\hypertarget{classGUIController_a494d1c2423ce3e7d44633edc50269803}{\index{G\-U\-I\-Controller@{G\-U\-I\-Controller}!get\-Text@{get\-Text}}
\index{get\-Text@{get\-Text}!GUIController@{G\-U\-I\-Controller}}
\subsubsection[{get\-Text}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string G\-U\-I\-Controller\-::get\-Text (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classGUIController_a494d1c2423ce3e7d44633edc50269803}


Give the current text of the build-\/in terminal. 

\begin{DoxyReturn}{Returns}
Gives a Q\-String text of the build-\/in terminal. 
\end{DoxyReturn}


Implements \hyperlink{classmodel_1_1Logger}{model\-::\-Logger}.

\hypertarget{classGUIController_aff7752195a9d8c86d326f212ccda1e7b}{\index{G\-U\-I\-Controller@{G\-U\-I\-Controller}!set\-Text@{set\-Text}}
\index{set\-Text@{set\-Text}!GUIController@{G\-U\-I\-Controller}}
\subsubsection[{set\-Text}]{\setlength{\rightskip}{0pt plus 5cm}void G\-U\-I\-Controller\-::set\-Text (
\begin{DoxyParamCaption}
\item[{std\-::string}]{str}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classGUIController_aff7752195a9d8c86d326f212ccda1e7b}


Set the text in the build-\/in terminal. 


\begin{DoxyParams}{Parameters}
{\em str} & String containing the text to be set. \\
\hline
\end{DoxyParams}


Implements \hyperlink{classmodel_1_1Logger}{model\-::\-Logger}.



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
controller/G\-U\-I\-Controller.\-h\item 
view/G\-U\-I\-Controller.\-h\item 
controller/G\-U\-I\-Controller.\-cpp\item 
view/G\-U\-I\-Controller.\-cpp\end{DoxyCompactItemize}
